 //**********************************************************************
 // Transcations.java                      Author:20172323wyh
 //**********************************************************************
 public class Transcations { public static void main(String[] args)
{
    AccountCollection accts = new AccountCollection();

    //test addAcount()
    accts.addAccount("George", 2001, 1000.00);
    accts.addAccount("王禹涵", 54321, 5000000000.00);

    //test "putMoney()" "getMoney()"
    System.out.println(accts.putMoney(500, 0));
    System.out.println(accts.getMoney(50, 50, 1));

    //test "addInterest()"
    System.out.println(accts.addInterest());

    //test "toString()"
    System.out.println(accts.toString());
}

}
